package com.cn.mmd.model;

import java.util.ArrayList;
import java.util.List;

public class StuCourseLabelExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public StuCourseLabelExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPushidIsNull() {
            addCriterion("pushId is null");
            return (Criteria) this;
        }

        public Criteria andPushidIsNotNull() {
            addCriterion("pushId is not null");
            return (Criteria) this;
        }

        public Criteria andPushidEqualTo(Integer value) {
            addCriterion("pushId =", value, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidNotEqualTo(Integer value) {
            addCriterion("pushId <>", value, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidGreaterThan(Integer value) {
            addCriterion("pushId >", value, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidGreaterThanOrEqualTo(Integer value) {
            addCriterion("pushId >=", value, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidLessThan(Integer value) {
            addCriterion("pushId <", value, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidLessThanOrEqualTo(Integer value) {
            addCriterion("pushId <=", value, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidIn(List<Integer> values) {
            addCriterion("pushId in", values, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidNotIn(List<Integer> values) {
            addCriterion("pushId not in", values, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidBetween(Integer value1, Integer value2) {
            addCriterion("pushId between", value1, value2, "pushid");
            return (Criteria) this;
        }

        public Criteria andPushidNotBetween(Integer value1, Integer value2) {
            addCriterion("pushId not between", value1, value2, "pushid");
            return (Criteria) this;
        }

        public Criteria andStudentclassIsNull() {
            addCriterion("studentClass is null");
            return (Criteria) this;
        }

        public Criteria andStudentclassIsNotNull() {
            addCriterion("studentClass is not null");
            return (Criteria) this;
        }

        public Criteria andStudentclassEqualTo(String value) {
            addCriterion("studentClass =", value, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassNotEqualTo(String value) {
            addCriterion("studentClass <>", value, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassGreaterThan(String value) {
            addCriterion("studentClass >", value, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassGreaterThanOrEqualTo(String value) {
            addCriterion("studentClass >=", value, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassLessThan(String value) {
            addCriterion("studentClass <", value, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassLessThanOrEqualTo(String value) {
            addCriterion("studentClass <=", value, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassLike(String value) {
            addCriterion("studentClass like", value, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassNotLike(String value) {
            addCriterion("studentClass not like", value, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassIn(List<String> values) {
            addCriterion("studentClass in", values, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassNotIn(List<String> values) {
            addCriterion("studentClass not in", values, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassBetween(String value1, String value2) {
            addCriterion("studentClass between", value1, value2, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassNotBetween(String value1, String value2) {
            addCriterion("studentClass not between", value1, value2, "studentclass");
            return (Criteria) this;
        }

        public Criteria andCourseidIsNull() {
            addCriterion("courseId is null");
            return (Criteria) this;
        }

        public Criteria andCourseidIsNotNull() {
            addCriterion("courseId is not null");
            return (Criteria) this;
        }

        public Criteria andCourseidEqualTo(String value) {
            addCriterion("courseId =", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidNotEqualTo(String value) {
            addCriterion("courseId <>", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidGreaterThan(String value) {
            addCriterion("courseId >", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidGreaterThanOrEqualTo(String value) {
            addCriterion("courseId >=", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidLessThan(String value) {
            addCriterion("courseId <", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidLessThanOrEqualTo(String value) {
            addCriterion("courseId <=", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidLike(String value) {
            addCriterion("courseId like", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidNotLike(String value) {
            addCriterion("courseId not like", value, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidIn(List<String> values) {
            addCriterion("courseId in", values, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidNotIn(List<String> values) {
            addCriterion("courseId not in", values, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidBetween(String value1, String value2) {
            addCriterion("courseId between", value1, value2, "courseid");
            return (Criteria) this;
        }

        public Criteria andCourseidNotBetween(String value1, String value2) {
            addCriterion("courseId not between", value1, value2, "courseid");
            return (Criteria) this;
        }

        public Criteria andCoursenameIsNull() {
            addCriterion("courseName is null");
            return (Criteria) this;
        }

        public Criteria andCoursenameIsNotNull() {
            addCriterion("courseName is not null");
            return (Criteria) this;
        }

        public Criteria andCoursenameEqualTo(String value) {
            addCriterion("courseName =", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameNotEqualTo(String value) {
            addCriterion("courseName <>", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameGreaterThan(String value) {
            addCriterion("courseName >", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameGreaterThanOrEqualTo(String value) {
            addCriterion("courseName >=", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameLessThan(String value) {
            addCriterion("courseName <", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameLessThanOrEqualTo(String value) {
            addCriterion("courseName <=", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameLike(String value) {
            addCriterion("courseName like", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameNotLike(String value) {
            addCriterion("courseName not like", value, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameIn(List<String> values) {
            addCriterion("courseName in", values, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameNotIn(List<String> values) {
            addCriterion("courseName not in", values, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameBetween(String value1, String value2) {
            addCriterion("courseName between", value1, value2, "coursename");
            return (Criteria) this;
        }

        public Criteria andCoursenameNotBetween(String value1, String value2) {
            addCriterion("courseName not between", value1, value2, "coursename");
            return (Criteria) this;
        }

        public Criteria andTeacheridIsNull() {
            addCriterion("teacherId is null");
            return (Criteria) this;
        }

        public Criteria andTeacheridIsNotNull() {
            addCriterion("teacherId is not null");
            return (Criteria) this;
        }

        public Criteria andTeacheridEqualTo(String value) {
            addCriterion("teacherId =", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridNotEqualTo(String value) {
            addCriterion("teacherId <>", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridGreaterThan(String value) {
            addCriterion("teacherId >", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridGreaterThanOrEqualTo(String value) {
            addCriterion("teacherId >=", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridLessThan(String value) {
            addCriterion("teacherId <", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridLessThanOrEqualTo(String value) {
            addCriterion("teacherId <=", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridLike(String value) {
            addCriterion("teacherId like", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridNotLike(String value) {
            addCriterion("teacherId not like", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridIn(List<String> values) {
            addCriterion("teacherId in", values, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridNotIn(List<String> values) {
            addCriterion("teacherId not in", values, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridBetween(String value1, String value2) {
            addCriterion("teacherId between", value1, value2, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridNotBetween(String value1, String value2) {
            addCriterion("teacherId not between", value1, value2, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeachernameIsNull() {
            addCriterion("teacherName is null");
            return (Criteria) this;
        }

        public Criteria andTeachernameIsNotNull() {
            addCriterion("teacherName is not null");
            return (Criteria) this;
        }

        public Criteria andTeachernameEqualTo(String value) {
            addCriterion("teacherName =", value, "teachername");
            return (Criteria) this;
        }

        public Criteria andTeachernameNotEqualTo(String value) {
            addCriterion("teacherName <>", value, "teachername");
            return (Criteria) this;
        }

        public Criteria andTeachernameGreaterThan(String value) {
            addCriterion("teacherName >", value, "teachername");
            return (Criteria) this;
        }

        public Criteria andTeachernameGreaterThanOrEqualTo(String value) {
            addCriterion("teacherName >=", value, "teachername");
            return (Criteria) this;
        }

        public Criteria andTeachernameLessThan(String value) {
            addCriterion("teacherName <", value, "teachername");
            return (Criteria) this;
        }

        public Criteria andTeachernameLessThanOrEqualTo(String value) {
            addCriterion("teacherName <=", value, "teachername");
            return (Criteria) this;
        }

        public Criteria andTeachernameLike(String value) {
            addCriterion("teacherName like", value, "teachername");
            return (Criteria) this;
        }

        public Criteria andTeachernameNotLike(String value) {
            addCriterion("teacherName not like", value, "teachername");
            return (Criteria) this;
        }

        public Criteria andTeachernameIn(List<String> values) {
            addCriterion("teacherName in", values, "teachername");
            return (Criteria) this;
        }

        public Criteria andTeachernameNotIn(List<String> values) {
            addCriterion("teacherName not in", values, "teachername");
            return (Criteria) this;
        }

        public Criteria andTeachernameBetween(String value1, String value2) {
            addCriterion("teacherName between", value1, value2, "teachername");
            return (Criteria) this;
        }

        public Criteria andTeachernameNotBetween(String value1, String value2) {
            addCriterion("teacherName not between", value1, value2, "teachername");
            return (Criteria) this;
        }

        public Criteria andTeacherheadportraitIsNull() {
            addCriterion("teacherHeadPortrait is null");
            return (Criteria) this;
        }

        public Criteria andTeacherheadportraitIsNotNull() {
            addCriterion("teacherHeadPortrait is not null");
            return (Criteria) this;
        }

        public Criteria andTeacherheadportraitEqualTo(String value) {
            addCriterion("teacherHeadPortrait =", value, "teacherheadportrait");
            return (Criteria) this;
        }

        public Criteria andTeacherheadportraitNotEqualTo(String value) {
            addCriterion("teacherHeadPortrait <>", value, "teacherheadportrait");
            return (Criteria) this;
        }

        public Criteria andTeacherheadportraitGreaterThan(String value) {
            addCriterion("teacherHeadPortrait >", value, "teacherheadportrait");
            return (Criteria) this;
        }

        public Criteria andTeacherheadportraitGreaterThanOrEqualTo(String value) {
            addCriterion("teacherHeadPortrait >=", value, "teacherheadportrait");
            return (Criteria) this;
        }

        public Criteria andTeacherheadportraitLessThan(String value) {
            addCriterion("teacherHeadPortrait <", value, "teacherheadportrait");
            return (Criteria) this;
        }

        public Criteria andTeacherheadportraitLessThanOrEqualTo(String value) {
            addCriterion("teacherHeadPortrait <=", value, "teacherheadportrait");
            return (Criteria) this;
        }

        public Criteria andTeacherheadportraitLike(String value) {
            addCriterion("teacherHeadPortrait like", value, "teacherheadportrait");
            return (Criteria) this;
        }

        public Criteria andTeacherheadportraitNotLike(String value) {
            addCriterion("teacherHeadPortrait not like", value, "teacherheadportrait");
            return (Criteria) this;
        }

        public Criteria andTeacherheadportraitIn(List<String> values) {
            addCriterion("teacherHeadPortrait in", values, "teacherheadportrait");
            return (Criteria) this;
        }

        public Criteria andTeacherheadportraitNotIn(List<String> values) {
            addCriterion("teacherHeadPortrait not in", values, "teacherheadportrait");
            return (Criteria) this;
        }

        public Criteria andTeacherheadportraitBetween(String value1, String value2) {
            addCriterion("teacherHeadPortrait between", value1, value2, "teacherheadportrait");
            return (Criteria) this;
        }

        public Criteria andTeacherheadportraitNotBetween(String value1, String value2) {
            addCriterion("teacherHeadPortrait not between", value1, value2, "teacherheadportrait");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameIsNull() {
            addCriterion("twoIndexName is null");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameIsNotNull() {
            addCriterion("twoIndexName is not null");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameEqualTo(String value) {
            addCriterion("twoIndexName =", value, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameNotEqualTo(String value) {
            addCriterion("twoIndexName <>", value, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameGreaterThan(String value) {
            addCriterion("twoIndexName >", value, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameGreaterThanOrEqualTo(String value) {
            addCriterion("twoIndexName >=", value, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameLessThan(String value) {
            addCriterion("twoIndexName <", value, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameLessThanOrEqualTo(String value) {
            addCriterion("twoIndexName <=", value, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameLike(String value) {
            addCriterion("twoIndexName like", value, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameNotLike(String value) {
            addCriterion("twoIndexName not like", value, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameIn(List<String> values) {
            addCriterion("twoIndexName in", values, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameNotIn(List<String> values) {
            addCriterion("twoIndexName not in", values, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameBetween(String value1, String value2) {
            addCriterion("twoIndexName between", value1, value2, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andTwoindexnameNotBetween(String value1, String value2) {
            addCriterion("twoIndexName not between", value1, value2, "twoindexname");
            return (Criteria) this;
        }

        public Criteria andPushtimeIsNull() {
            addCriterion("pushTime is null");
            return (Criteria) this;
        }

        public Criteria andPushtimeIsNotNull() {
            addCriterion("pushTime is not null");
            return (Criteria) this;
        }

        public Criteria andPushtimeEqualTo(String value) {
            addCriterion("pushTime =", value, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeNotEqualTo(String value) {
            addCriterion("pushTime <>", value, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeGreaterThan(String value) {
            addCriterion("pushTime >", value, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeGreaterThanOrEqualTo(String value) {
            addCriterion("pushTime >=", value, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeLessThan(String value) {
            addCriterion("pushTime <", value, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeLessThanOrEqualTo(String value) {
            addCriterion("pushTime <=", value, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeLike(String value) {
            addCriterion("pushTime like", value, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeNotLike(String value) {
            addCriterion("pushTime not like", value, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeIn(List<String> values) {
            addCriterion("pushTime in", values, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeNotIn(List<String> values) {
            addCriterion("pushTime not in", values, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeBetween(String value1, String value2) {
            addCriterion("pushTime between", value1, value2, "pushtime");
            return (Criteria) this;
        }

        public Criteria andPushtimeNotBetween(String value1, String value2) {
            addCriterion("pushTime not between", value1, value2, "pushtime");
            return (Criteria) this;
        }

        public Criteria andShouldpushtimeIsNull() {
            addCriterion("shouldPushTime is null");
            return (Criteria) this;
        }

        public Criteria andShouldpushtimeIsNotNull() {
            addCriterion("shouldPushTime is not null");
            return (Criteria) this;
        }

        public Criteria andShouldpushtimeEqualTo(String value) {
            addCriterion("shouldPushTime =", value, "shouldpushtime");
            return (Criteria) this;
        }

        public Criteria andShouldpushtimeNotEqualTo(String value) {
            addCriterion("shouldPushTime <>", value, "shouldpushtime");
            return (Criteria) this;
        }

        public Criteria andShouldpushtimeGreaterThan(String value) {
            addCriterion("shouldPushTime >", value, "shouldpushtime");
            return (Criteria) this;
        }

        public Criteria andShouldpushtimeGreaterThanOrEqualTo(String value) {
            addCriterion("shouldPushTime >=", value, "shouldpushtime");
            return (Criteria) this;
        }

        public Criteria andShouldpushtimeLessThan(String value) {
            addCriterion("shouldPushTime <", value, "shouldpushtime");
            return (Criteria) this;
        }

        public Criteria andShouldpushtimeLessThanOrEqualTo(String value) {
            addCriterion("shouldPushTime <=", value, "shouldpushtime");
            return (Criteria) this;
        }

        public Criteria andShouldpushtimeLike(String value) {
            addCriterion("shouldPushTime like", value, "shouldpushtime");
            return (Criteria) this;
        }

        public Criteria andShouldpushtimeNotLike(String value) {
            addCriterion("shouldPushTime not like", value, "shouldpushtime");
            return (Criteria) this;
        }

        public Criteria andShouldpushtimeIn(List<String> values) {
            addCriterion("shouldPushTime in", values, "shouldpushtime");
            return (Criteria) this;
        }

        public Criteria andShouldpushtimeNotIn(List<String> values) {
            addCriterion("shouldPushTime not in", values, "shouldpushtime");
            return (Criteria) this;
        }

        public Criteria andShouldpushtimeBetween(String value1, String value2) {
            addCriterion("shouldPushTime between", value1, value2, "shouldpushtime");
            return (Criteria) this;
        }

        public Criteria andShouldpushtimeNotBetween(String value1, String value2) {
            addCriterion("shouldPushTime not between", value1, value2, "shouldpushtime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}